package comm.jr.service.impl;

import comm.jr.entry.Flights;
import comm.jr.mapper.FlightsMapper;
import comm.jr.service.FlightsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class FlightsImpl implements FlightsService {
    @Autowired
  private FlightsMapper flightsMapper;
    @Override
    public ArrayList<Flights> selectByTimeAndCity(Flights flights) {
        return flightsMapper.selectByTimeAndCity(flights);
    }
}
